﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Benchmark.Db.Base.DataObjects
{
    public class Record1 : IDataObject
    {
        [HasIndex]
        [PrimaryKey]
        [UseForLoadTest]
        public Guid PrimaryKey { get; set; }

        [HasIndex]
        [UseForLoadTest]
        [Length(40)]
        public string Key2 { get; set; }

        [HasIndex]
        [UseForLoadTest]
        public int IntValue1 { get; set; }

        public int IntValue2 { get; set; }

        [HasIndex]
        [MaxValue(4)]
        public int TypeId1 { get; set; }

        [MaxValue(8)]
        public int TypeId2 { get; set; }

        [HasIndex]
        [UseForLoadTest]
        [Length(50)]
        public string TextValue1 { get; set; }

        [Length(500)]
        public string TextValue2 { get; set; }

        [HasIndex]
        public DateTime TimeValue1 { get; set; }

        public DateTime TimeValue2 { get; set; }
    }
}
